package br.edu.unilasalle.simon_api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.edu.unilasalle.simon_api.dao.IEstadoDao;
import br.edu.unilasalle.simon_api.dao.IGenericDao;
import br.edu.unilasalle.simon_api.domain.Estado;
import br.edu.unilasalle.simon_api.service.IEstadoService;

@Service
public class EstadoService extends GenericService<Estado, Long> implements IEstadoService {
	
	@Autowired
	private IEstadoDao dao;
	
	public IEstadoDao getEstadoDao() {
		return dao;
	}
	
	public void setEstadoDao(IEstadoDao dao) {
		this.dao = dao;
	}

	@Override
	public IGenericDao<Estado, Long> getEntityDao() {
		return this.dao;
	}
   
}
